package com.mingdao.lhy.mapper.wish;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.mingdao.lhy.pojo.Admission;
import com.mingdao.lhy.pojo.Score;

@Mapper
@Repository(value = "admissionMapper")
public interface AdmissionMapper {

	/**
	 * 获取所有成绩
	 * 
	 * @return
	 */
	List<Admission> list();

	Admission getOne(String bmh);

	int deleteByPrimaryKey(Long id);

	int insert(Admission record);

	int insertSelective(Admission record);

	Score selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(Admission record);

	int updateByPrimaryKey(Admission record);

}